﻿namespace CatClient.Message
{
    using System;

    public interface IMessage
    {
        void AddData(string keyValuePairs);
        void AddData(string key, object value);
        void Complete();
        bool IsCompleted();
        bool IsSuccess();
        void SetStatus(Exception e);

        string Data { get; }

        string Name { get; }

        string Status { get; set; }

        long Timestamp { get; set; }

        string Type { get; }
    }
}

